function objecttourl(obj){
	var b = [];
    for(var i in obj){
      b.push(i+"="+obj[i]+"&");
    }
	var sb=b.toString().replace(/&,/g,"&")
    return sb;
}